﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AotoFacDto.Input;
using AotoFacDto.OutPut;
using IAotoFacLogic.User;
using IAutoFacDal.User;

namespace AotoFacLogic.User
{
    public class UserLogic : IUserLogic
    {
        public readonly  IUserDal UserDal;

        public UserLogic(IUserDal userDal)
        {
            UserDal = userDal;
        }
        public UserAddOutputDto UserAdd(UserAddInputDto input)
        {
            return UserDal.UserAdd(input);
        }
    }
}
